package clock;

import clock.TimeCounter;

public class Minute extends TimeCounter {
	private final static int MAX = 60;

	public Minute(int time) {
		super(time);
	}

	public void increase() {
		super.increase();
		if (count >= MAX) {
			count = 0;
		}
	}
	
	public void decrease() {
		super.decrease();
		if (count < 0) {
			count = 0;
		}
	}
}
